/*
 *   AS IS License 
 *  ==Naive Coders==
 */
package com.naivecoders.refex.functions;

import com.naivecoders.refex.FunctionFactory;

/**
 *
 * @author andrew
 */
public class StripFunction extends AbstractFunction {

    public StripFunction(FunctionFactory origin) {
        super(origin);
    }

    @Override
    public AbstractFunction evaluate(ListFunction x) throws InvocationException {
        return ((ListFunction)x.head()).tail();
    }
    
}
